package com.ruoyi.oa.service.impl;

import com.ruoyi.oa.domain.ComboxSelect;
import com.ruoyi.oa.mapper.DeptMapper;
import com.ruoyi.oa.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    DeptMapper deptMapper;

    @Override
    public List<ComboxSelect> findAllDept() {
        return deptMapper.findComboxSelect();
    }
}
